home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / programming / blitzbasic / blitz-list200994.lha / blitz-list / text0197.txt < prev    next >
Encoding:
Text File  |  1994-09-20  |  986 b   |  22 lines

  1. > > Evertime I make a demo, I have to load up a graphics file and/or
  2. > > a music file.  Is it possible to INCLUDE them in a Blitz program
  3. > > so I don't have to have more than 1 file for my demos?  Incbin
  4. > > does something like that, but if I wanted to include a medmodule
  5. > > how would I play it afterwards?  Certainly not with PlayMed since it
  6. > > doesn't receive an address as a parameter.  So, what can be done?
  7.  Well...as far as I know it's impossible to tell Blitz compiler
  8.  WHERE  (chip or fast ) you want to put the included data when 
  9.  your proggy starts. So as Med module must be in chip mem
  10.  U can't incbin it - as U never know where (chip or fast) it'll be.
  11.  This INCBIN thing only works if it's not important where you want your
  12.  data (asm routines, map data etc.)
  13.  BTW ther is command CludgeMedModule - if U alloc Chip, bload med 
  14.  module into it and then CLUDGE it then it's just like loadmedmodule.
  15.  Hope that helped.
  16.  
  17.  
  18.                 O.T.T. (ott@microlnk.ml.ee)
  19.  
  20.  
  21.